﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Character_Generator
{
    public partial class frmWelcome : Form
    {
        public frmWelcome()
        {
            InitializeComponent();
        }

        private void btnNewChar_Click(object sender, EventArgs e)
        {
            frmCreation newMDIChild = new frmCreation();
            //Set the parent form of the Child window.
            newMDIChild.MdiParent = new frmGenerator();
            //Display the new form.
            newMDIChild.StartPosition = FormStartPosition.CenterScreen;
            newMDIChild.Show();
        }
    }
}
